#include "GameAbility.h"

unsigned int GameAbility::uniqueId = 1;

GameAbility::GameAbility()
{
}

GameAbility::GameAbility(const GameAbility& rhs)
{
}

GameAbility::~GameAbility()
{
}

bool GameAbility::Activate(GameAbility* ability)
{
	if (ability->Id() == Id())
	{
		Activate();

		return true;
	}
	else
	{
		return false;
	}
}

void GameAbility::InitializeId(unsigned int *newId)
{
	if (*newId == 0)
		*newId = uniqueId++;
}
